<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>{$article_details.title}-枣课网</title>
    <meta name="keywords" content="{$article_details.title}">
    <meta name="description" content="{$article_details.title}、枣课网、枣课教育">
    <link rel="stylesheet" href="__STATIC__/bootstrap-5.1.3/css/bootstrap.css">
    <link rel="stylesheet" href="/static/css/qx_index.css">
    <!--<link rel="stylesheet" href="__STATIC__/css/qct-all.css">-->
    <script src="/static/js/jquery-1.11.3.min.js"></script>
</head>
<body>
{include file="index/header" /}
<div class="container" style="margin-top:20px;">
    <div class="row align-items-start justify-content-around">
        <div class="col-3 text-start py-2" style="background-color:#ffffff;">
            <ul class="nav flex-column">
                {volist name="cates" id="data"}
                <li id="cate{$data.id}" class="nav-item border-1 py-2 text-center"><a href="{:url('/article/details', array('articleid'=>$data.id))}" style="color:#333">{$data.catename}</a></li>
                {/volist}
            </ul>
        </div>
        <div class="col-9 py-3" style="background-color:#fff;height:615px;border-left:10px solid #f5f6f7;">
            <h3 class="p-3" style="font-size:16px;font-weight: bold;text-align: center;">{$article_details.title}</h3>
            <div class="container" style="font-size:14px;line-height: 26px;">
                {$article_details.content}
            </div>
        </div>
    </div>
</div>
<input id="cateid" type="hidden" value="{$cateid}">
<!-- 右侧挂件 -->
{include file="index/right_service" /}
<!-- 底部版权 -->
{include file="index/footer" /}

<script>
    /**
     * 左侧点击设置背景色
     */
    $(function(){
        $("#cate"+$("#cateid").val()).addClass('bg-light');
    })
</script>
</body>
</html>
